package com.zs.diveinspringboot.run

import org.springframework.boot.ConfigurableBootstrapContext
import org.springframework.boot.SpringApplication
import org.springframework.boot.SpringApplicationRunListener
import org.springframework.context.ConfigurableApplicationContext
import org.springframework.core.env.ConfigurableEnvironment

/**
 *
 * @description
 * @author madison
 * @date 2021/6/5 18:08
 *
 */
class HelloWorldRunListener(application: SpringApplication, array: Array<String>) : SpringApplicationRunListener {
    override fun starting(bootstrapContext: ConfigurableBootstrapContext?) {
        super.starting(bootstrapContext)
    }

    override fun starting() {
        println("HelloWorldRunListener starting()...")
    }
}